package net.malkuth.dao;

import android.content.Context;
import com.lidroid.xutils.DbUtils;

/**
 * Created by 一些年华 on 2016/7/14.
 */
public class DataBase {
    public static DbUtils dbUtils;

    public static void mCreateDB(Context context) {
        DbUtils.DaoConfig config = new DbUtils.DaoConfig(context);
        config.setDbName("Malkuth.db");
        config.setDbVersion(1);
        dbUtils = DbUtils.create(config);
        dbUtils.configAllowTransaction(true);
    }
}
